/*
 * Copyright 2013-2015
 */
package com.zhadafei.mvnbook.account.service;

/**
 * Title: AccountEmailException.java 自定义邮件异常
 * 
 * @author jackie
 * @since Mar 30, 2013 6:01:31 PM
 * @version V1.0
 */
public class AccountServiceException extends Exception {

    /**
     * @Fields serialVersionUID
     */
    private static final long serialVersionUID = -5399025975888079256L;

    /**
     * 错误消息
     */
    private String message;

    public AccountServiceException(String message) {
        this.message = message;
    }

    public AccountServiceException(String message, Throwable throwable) {
        super(message, throwable);
    }

    /**
     * @return the message
     */
    public String getMessage() {
        return message;
    }

    /**
     * @param message
     *            the message to set
     */
    public void setMessage(String message) {
        this.message = message;
    }
}